<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<link rel="stylesheet" type="text/css" href="css/user_fglyh.css">
	<script src="js/jquery.min.js"></script>
	<script src="js/base.js"></script>
	<title>Document</title>
</head>
<body>
	<div class="user_fglyh">
		<!-- <i>欢迎登录</i>
		<b>
			<span>
				<b>上次登录日期：</b>
				<i>2018-09-29 19:31:20</i>
			</span>
			<em>
				<em>登录次数：</em>
				<b>210</b>
			</em>
		</b> -->
	</div>
	<script>
		$(function (){
			//
			$.ajax({
				url:baseUrl+"/news/api/data/common/last",
				type:"get",
				success:function (res){
					//console.log(res);
					var html=`<i>欢迎登录</i>
								<b>
								<span>
								<b>上次登录日期：</b>
								<i>${res.data.ltme?res.data.ltme:''}</i>
								</span>
								<em>
								<em>登录次数：</em>
								<b>${res.data.count}</b>
								</em>
							</b>`;
						$(".user_fglyh").append(html)
	 				}
			})
		})
	</script>
</body>
</html>